<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>

<div th:fragment="records">
    <div class="tk_all_moeny">
        <div class="m40l m10t"><b>交易记录</b><br>只显示近一个月的消息,如需更多信息请联系客服查询</div>
    </div>
    <ul class="shijin m40l m20t">
        <a href="/records?timeRange=1"> <li th:attr="class=${session.recordtimeRange=='1'}? 'cover' : null">今天</li></a>
        <a href="/records?timeRange=3"><li th:attr="class=${session.recordtimeRange=='3'}? 'cover' : null" >三天内</li></a>
        <a href="/records?timeRange=7"><li th:attr="class=${session.recordtimeRange=='7'}? 'cover' : null" >一周内</li></a>
        <a href="/records?timeRange=30"><li th:attr="class=${session.recordtimeRange=='30'}? 'cover' : null" >一个月内</li></a>
        <a href="/records?timeRange=365">  <li th:attr="class=${session.recordtimeRange=='365'}? 'cover' : null" >一年内</li></a>
    </ul>
    <ul class="ckjl m40l m20t">

        <a href="/records?type=2"> <li th:attr="class=${session.recordType=='2'}? 'cover' : null" >存款记录</li></a>
        <a href="/records?type=1"><li th:attr="class=${session.recordType=='1'}? 'cover' : null">提款记录</li></a>
        <a href="/records?type=3"><li th:attr="class=${session.recordType=='3'}? 'cover' : null" >转账记录</li></a>
        <a href="/records?type=4">   <li th:attr="class=${session.recordType=='4'}? 'cover' : null" >红利记录</li></a>
    </ul>
    <div class="xiam">
        <div class="mokl">
            <p class="w86">序号</p><p class="w200">时间</p><p class="w218">订单号</p><p class="w160">交易类型</p><p class="w123">金额</p><p class="w120">状态</p>
        </div>

        <ul class="mokl-c" th:each="item:${list}">
            <li class="w86" th:text="${item.id}" >1</li>
            <li class="w200"   th:text="${#dates.format(item.createtime,'yyyy--MM-dd HH:mm:ss')}">2007-12.23</li>
            <li class="w218"  th:text="${item.operateno}" > 2568999955222221</li>
            <li class="w160" th:text="${item.operatename}">在线交易</li>
            <li class="w123" th:text="${item.amount}">4569.0</li>
            <li class="w120 red" th:if="${item.status ==1}">成交</li>
            <li class="w120 red" th:if="${item.status==2}">失败</li>
            <li class="w120 red" th:if="${item.status==3}">处理中</li>
        </ul>

    </div>
</div>

</body>

</html>


